
package net.mappoint.s.mappoint_30;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for SegmentOptions complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="SegmentOptions">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="Preference" type="{http://s.mappoint.net/mappoint-30/}SegmentPreference"/>
 *         &lt;element name="CalculateSegmentMapView" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         &lt;element name="CalculateDirectionMapView" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SegmentOptions", propOrder = {
    "preference",
    "calculateSegmentMapView",
    "calculateDirectionMapView"
})
public class SegmentOptions {

    @XmlElement(name = "Preference", required = true)
    protected SegmentPreference preference;
    @XmlElement(name = "CalculateSegmentMapView", defaultValue = "true")
    protected Boolean calculateSegmentMapView;
    @XmlElement(name = "CalculateDirectionMapView", defaultValue = "true")
    protected Boolean calculateDirectionMapView;

    /**
     * Gets the value of the preference property.
     * 
     * @return
     *     possible object is
     *     {@link SegmentPreference }
     *     
     */
    public SegmentPreference getPreference() {
        return preference;
    }

    /**
     * Sets the value of the preference property.
     * 
     * @param value
     *     allowed object is
     *     {@link SegmentPreference }
     *     
     */
    public void setPreference(SegmentPreference value) {
        this.preference = value;
    }

    /**
     * Gets the value of the calculateSegmentMapView property.
     * 
     * @return
     *     possible object is
     *     {@link Boolean }
     *     
     */
    public Boolean isCalculateSegmentMapView() {
        return calculateSegmentMapView;
    }

    /**
     * Sets the value of the calculateSegmentMapView property.
     * 
     * @param value
     *     allowed object is
     *     {@link Boolean }
     *     
     */
    public void setCalculateSegmentMapView(Boolean value) {
        this.calculateSegmentMapView = value;
    }

    /**
     * Gets the value of the calculateDirectionMapView property.
     * 
     * @return
     *     possible object is
     *     {@link Boolean }
     *     
     */
    public Boolean isCalculateDirectionMapView() {
        return calculateDirectionMapView;
    }

    /**
     * Sets the value of the calculateDirectionMapView property.
     * 
     * @param value
     *     allowed object is
     *     {@link Boolean }
     *     
     */
    public void setCalculateDirectionMapView(Boolean value) {
        this.calculateDirectionMapView = value;
    }

}
